package com.lanke.clickhouse.datasource.autoconfiguration.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: lanke
 * @Date: 2021/12/6 17:35
 * @Description: TODO
 **/
@Data
@Getter
@Setter
@ConfigurationProperties(prefix = "spring.datasource.clickhouse")
public class ClickHouseLankeProperties {
    private String driverClassName;

    private String url;

    private String username;

    private String password;

    private Integer initialSize = 10;

    private Integer maxActive = 100;

    private Integer minIdle = 10;

    private Integer maxWait = 10000;

    private String validationQuery;

}
